package com.bootdo.shop.dao;

import com.bootdo.shop.domain.WxShopCatDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 微信商品类目
 * @author long
 * @email 499626561@qq.com
 * @date 2021-05-19 14:24:51
 */
@Mapper
public interface WxShopCatDao {

	WxShopCatDO get(String id);
	
	List<WxShopCatDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(WxShopCatDO wxShopCat);
	
	int update(WxShopCatDO wxShopCat);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

    List<WxShopCatDO> likeList(Map<String,Object> map);

	int batchInsert(List<WxShopCatDO> list);

    WxShopCatDO getByThirdCatId(String level3);
}
